package cn.hp.service;

import cn.hp.entity.User;

public interface UserService {

    /**
     * 调用Mapper,获取用户信息，检查一下是否可以登录
     * @param user
     * @return
     */
    User doLogin(User user);

    User selectUserById(Integer id);

    User login(String email);
}
